<?php
/**
 * Use this class if you want to build a param on the fly
 *
 * @author Ishtiaque Shahrier <md.ishtiaque@newgenbd.net>
 * @package search
 * @subpackage libraries
 */
class dynamic_param_l_search extends a_base_param_l_search{    

    /**
     *
     * @var string
     */
    protected $select;
    /**
     *
     * @var string
     */
    protected $order;
    /**
     *
     * @var string
     */
    protected $where;
    /**
     *
     * @var string
     */
    protected $join;

    public function  __construct($id,$type,$option=NULL,$label=NULL) {
        parent::__construct($id, $type, $option,$label);
    }
    public function set_option($option){
        $this->option = $option;
        return $this;
    }
    public function set_join_line($line){
        $this->join = $line;
        return $this;
    }
    public function set_where_line($line){
        $this->where = $line;
        return $this;
    }
    public function set_order_line($line){
        $this->order = $line;
        return $this;
    }
    public function set_select_line($line){
        $this->select = $line;
        return $this;
    }
    public function  set_label($label){
        $this->label = $label;
        return $this;
    }
    /**
     *
     * @return string
     */
    public function get_order_line() {
        return $this->order;
    }
    /**
     *
     * @return string
     */

    public function get_join_line() {
        return $this->join;
    }
    /**
     *
     * @return string
     */
    public function  get_select_line() {
        return $this->select;
    }
    /**
     *
     * @return string
     */
    public function get_where_line() {
        return $this->where;
    }

}
?>
